<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>需求</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="phar.setup.html">安装／配置</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="phar.installation.html">安装</a></div>
 <div class="up"><a href="phar.setup.html">安装／配置</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="phar.requirements" class="section">
  <h2 class="title">需求</h2>
  <p class="para">
   Phar requires PHP 5.2.0 or newer.  Additional features require the
   <a href="book.spl.html" class="link">SPL</a> extension in order to take advantage
   of iteration and array access to a Phar&#039;s file contents.  The <em>phar</em>
   stream does not require any additional extensions to function.
  </p>
  <p class="para">
   You may optionally wish to enable the <a href="book.zlib.html" class="link">zlib</a>
   and <a href="book.bzip2.html" class="link">bzip2</a> extensions to take
   advantage of compressed phar support.  In addition, to take advantage of
   OpenSSL signing, the <a href="book.openssl.html" class="link">OpenSSL</a> extension must be
   enabled.
  </p>
  <p class="para">
   Note that a bug in the <a href="filters.compression.html" class="link">zlib.deflate</a> stream filter
   fixed in PHP version 5.2.6 and newer may cause truncation of gzip and bzip2-compressed
   phar archives.
  </p>
  <p class="para">
   PHP 5.3 configured with <em>--enable-zend-multibyte</em> makes <a href="book.phar.html" class="link">phar</a> dependant on the ini option <em>detect_unicode</em>. 
  </p>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="phar.setup.html">安装／配置</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="phar.installation.html">安装</a></div>
 <div class="up"><a href="phar.setup.html">安装／配置</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
